Skip to main content

mediaFoundationVideoProcessorSetInputMediaType

Type

command

Summary

Set the current input media type Platform:desktop

Syntax

mediaFoundationVideoProcessorSetInputMediaType <pVideoProcessorID>, <pMediaTypeID>

Description

To setup the pipeline for transcoding we must find an a reader output media type that is supported by the video processor as an input media type and a writer input media type that is supported by the video processor as an output media type.

*Note

*:See the mediaFoundationTranscode documentation for a complete example of using this handler.

Parameters

NameTypeDescription

pVideoProcessorID

integer

A video processor ID

pMediaTypeID

integer

A media type ID

command: mediaFoundationTranscode, mediaFoundationCreateVideoProcessor

Compatibility and Support

OS

windows

Thank you for your feedback!

Was this page helpful?